package com.buer.storage.dto;

import com.buer.storage.entity.Corderdetails;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CorderStorageDto {
    private Integer checkId;
    private Integer userId;
    private String checkPerson;
    private String checkCode;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date closeDate;
    private String checkRemark;
    private Integer checkStatus;
    private CorderdetailsDto[] corderPutProds;
}
